﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Sensors;

namespace DroneAPI
{
    public class InputState
    {
        // values from [-1, 1]
        public double strafeX;
        public double strafeY;
        public double rotateX;
        public double ascendY;

        // flag for takeoff and landing
        public bool flying;

        public InputState(double strafeX, double strafeY, double ascendY, double rotateX, bool flying)
        {
            this.strafeX = strafeX;
            this.strafeY = strafeY;
            this.ascendY = ascendY;
            this.rotateX = rotateX;
            this.flying = flying;
        }
    }
}
